export default [
    //预支付路由
    {
        path:"preorder",
        name:"preorder",
        component: () => import ("@/pages/Home/PreOrder")
    },
    //支付路由
    {
        path:"payment",
        name:"payment",
        component: () => import ("@/pages/Home/payMent"),
        children:[
            {
                path: "pay",
                component: ()  =>import("@/pages/Home/payMent/Pay"),
                name:"pay"
            },
            {
                path:"paySucess",
                component:() => import("@/pages/Home/payMent/PaySucess"),
                name:"paySucess"
            },
            {
                path:"payFail",
                component:() => import("@/pages/Home/payMent/PayFail"),
                name:"payFail"
            }
        ]
    }
]